#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "calibrate.h"
#include <linux/unistd.h>


namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(Calibrate *calibrateWin, QWidget *parent = 0);
    ~MainWindow();
    Calibrate *calibrateWin;

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;
     QTimer timer;

private slots:
    void opencalibrate(Calibrate *calibrateWin);
    void on_verticalSlider_valueChanged();
    void timedOut();
};

#endif // MAINWINDOW_H
